package me.hunche.app.service;

import java.util.List;

import me.hunche.app.domain.Activity;
import me.hunche.app.domain.Team;
import me.hunche.app.domain.User;

public interface CoreService{

	public Long createTeam(Team team);

	public Long createUser(User user);
	
	public void crateActivity(Activity a);
	
	public void recruit(Activity a);
	
	public void recruit(Long activityId,String userIds);
	
	public void confirmActivity(Long activityId,Long leaderId,Long[] memberIds);
	
	public void cancleActivity(Long activityId);
	
	public Activity joinActivity(String mobile,Long ActivityId, Boolean needNotify);
	
	public Activity joinActivity(User user, Long activityId, Boolean needNotify);
	
	public Activity joinActivity(List<User> user, Long activityId, Boolean needNotify);
	
	public void ready(Activity a);
	
	public void go(Activity a);
}
